package javacore.v1ch3;

import java.util.Arrays;
import java.util.Scanner;

public class InputTest {
    public static void main(String[] args) {

       String [] ss = new String[10];
       ss[0] = "";
       ss[1] = "";

       Object oss = ss;

       System.out.println(Arrays.toString(ss).replace("[", "").replace("]", ""));

//       Arrays.stream(oss).forEach();

        String m = "";
        System.out.println(m.split(",").length);
    }

    void test () {
        Scanner in = new Scanner(System.in);
        System.out.println("what's your name?");
        String name = in.nextLine();

        System.out.println("how old are you?");
        String age = in.nextLine();

        System.out.println("name = " + name + ",age = " + age);
    }
}
